<template>
  <div ><slot></slot></div>
</template>

<script>
export default {
  name: 'ZPageDesign',
  // methods: {
  //   catchClick(e) {
  //     console.log('catchClick', e)
  //   }
  // },
  provide() {
    let self = this
    return {
      ZPageDesignIns: {
        detect(name, ...params) {
          // console.log('catchClick', name)
          self.$emit('detect', {
            name,
            params
          })
        }
      }
    }
  }
}
</script>
